Skip to content

Dead letters#1067

Open
ionous wants to merge 2 commits into
shift-org:mainfrom
ionous:dead-letters
Open

Dead letters#1067
ionous wants to merge 2 commits into
shift-org:mainfrom
ionous:dead-letters

Conversation

@ionous

@ionous ionous commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

adds a simple email block list.
the environment variable DEAD_LETTERS" can contain one or more email suffixes separated with ;ex.example.com, simon@hatesemail.comor the most of the internet.org;.com;.net`

it can be added to production's environment ( ex. maybe shift.overrides or is it shift.overrides.production ... i forget ) -- then node restarted.

it will skip sending to the indicated addresses while still sending an email to the shift team.

ionous added 2 commits June 10, 2026 01:02
- added isDeadLetter() helper
- exposed the DEAD_LETTERS env var to docker
- removed logging from inside emailer, so that caller can choose what to write to the log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant